package com.zmzncs.lmtc.module.shop.pojo.park_ticket_set;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 商户-停车券-配置
 * </p>
 *
 * @author 高博文
 * @since 2021-06-30
 */
@Data
public class ParkTicketSetSearchForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "停车场Id")
    private Long parkId;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "页码")
    private Integer currentPage = 1;

    @ApiModelProperty(value = "每页记录数")
    private Integer pageSize = 10;

    public Page getPage() {
        return new Page(currentPage, pageSize);
    }

}
